<div class="main-content">
	<header>
		<a href="<?php echo bu('admin/articles/new'); ?>" class="fr button button-gray">Add Articles</a>
		<h2>Edit Article</h2>
	</header>

	<section>
			<fieldset>
				<legend>Edit Your Article</legend>
        <?php
          $form = $this->beginWidget('CActiveForm', array(
            'id' => 'form',
            'action' => bu('admin/articles/update?id='.$_GET['id']),
            'htmlOptions' => array(
              'class' => 'form',
              'novalidate' => 'true',
              'enctype' => 'multipart/form-data',
            ),
          ));
        ?>
				<?php echo $this->renderPartial('_form', array('article' => $article, 'members' => $members, 'form' => $form)); ?>
        <?php $this->endWidget(); ?>
			</fieldset>
	</section>
</div>